From 5ede288864ec1b0783a6bd0824da11aec8f2aeb2 Mon Sep 17 00:00:00 2001 From: robertl Date: Thu, 19 Jun 2008 16:44:16 +0000 Subject: [PATCH] Add test for igo8. --- testo | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/testo b/testo index 77768d349..d6013a393 100755 --- a/testo +++ b/testo @@ -1340,5 +1340,15 @@ compare ${TMPDIR}/exif-dat.csv ${REFERENCE}/exif-dat.csv ${PNAME} -i vidaone -f ${REFERENCE}/track/vidaone.gpb -t -o unicsv -F ${TMPDIR}/vidaone.csv compare ${TMPDIR}/vidaone.csv ${REFERENCE}/track/vidaone.csv +# iGo8 +# This format has some jitter in the first 64 bytes of the header. +# So we read our reference track, spin to GPX. +# Read that track, spin to igo. +# read the igo file we just wrote, and spin that to GPX. +# compare the two GPX files. +${PNAME} -i igo8 -f reference/track/igo8.trk -o gpx -F ${TMPDIR}/igo.gpx +${PNAME} -i gpx -f ${TMPDIR}/igo.gpx -o igo8 -F ${TMPDIR}/new-igo.trk +${PNAME} -i igo8 -f ${TMPDIR}/new-igo.trk -o gpx -F ${TMPDIR}/new-igo2.gpx +compare ${TMPDIR}/igo.gpx ${TMPDIR}/new-igo2.gpx exit 0 -- 2.30.2